package com.gege.hmily.api;

import com.gege.hmily.request.PayRequest;
import com.gege.hmily.response.BaseResponse;
import org.dromara.hmily.annotation.Hmily;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author gechenpeng
 * @date 2021-05-28
 */
@RequestMapping("account")
public interface AccountApi {

    @PostMapping("pay")
    @Hmily
    BaseResponse pay(@RequestBody PayRequest payRequest);
}
